<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="UTF-8">

    </head>
    <body>
        <button onclick="clickV()">播放/暂停</button>
        <button onclick="clickBig()">放大</button>
        <button onclick="clickSmall()">缩小</button>
        <br/>
        <video id="video"  >
            <source src="./../movie .ogg">
        </video>
        <script>
        var v=document.getElementById("video");
        function clickV(){
            if(v.paused){
                v.play();
            }
            else{
                v.pause();
            }
        }
        function clickBig(){
                v.width=800;
                v.height=800;
        }
        function clickSmall(){
                v.width=300;
                v.height=300;
        }
        </script>
    </body>
</html>